 
 
//去除谷歌的touch事件警告
  export function capturePassive(){
    if (typeof EventTarget !== "undefined") {
      let func = EventTarget.prototype.addEventListener;
      EventTarget.prototype.addEventListener = function (type, fn, capture) {
        //@ts-ignore 取消单行ts验证
        this.func = func;
        if (typeof capture !== "boolean") {
          capture = capture || {};
          capture.passive = false;
        }
        //@ts-ignore 取消单行ts验证
        this.func(type, fn, capture);
        // func(type, fn, capture);
      };
    };
  }